package hotel.switchs.oversea.api.VO.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @Author lmf
 * @Date 2020/5/27 14:16
 **/
@Data
public class SaleRuleVo {
    private String channelType;
    @JsonProperty("isSetCancel")
    private boolean isSetCancel;
    @JsonProperty("canCancel")
    private boolean canCancel;
    private int checkInDay;
    private String checkInTime;
    private int deductType;
    private int deductProportion;
    private int checkInDay2;
    private String checkInTime2;
    private int deductType2;
    private int deductProportion2;
    @JsonProperty("isSetAutoChange")
    private boolean isSetAutoChange;
    private boolean autoChange;
    private int formula;
    private int modifyValue;
    private String baseChannel;
    @JsonProperty("isSetLastBookTime")
    private boolean isSetLastBookTime;
    private int lastBookDay;
    private String lastBookTime;
    @JsonProperty("isSetLastConfirmTime")
    private boolean isSetLastConfirmTime;
    private int lastConfirmDay;
    private String lastConfirmTime;
    //Qunar,B2B,分销A 固有的参数
    @JsonProperty("isSetSaleTime")
    private boolean isSetSaleTime;
    private String startTime;
    private String endTime;
    private int endDateType;
    @JsonProperty("isSetLimit")
    private boolean isSetLimit;
    private int limitType;
    private int advanceDay;
    private String advanceTime;
    private int advanceType=0;
    @JsonProperty("isSetLast")
    private boolean isSetLast;
    private int minLastDay;
    private int maxLastDay;
    @JsonProperty("isSetBookRoomNum")
    private boolean isSetBookRoomNum;
    private int minBookRoomNum;
    private int maxBookRoomNum;
    //Ctrip 固有的参数
    @JsonProperty("isSetLimitVisiable")
    private boolean isSetLimitVisiable;
    @JsonProperty("isDeleteLimitVisiable")
    private boolean isDeleteLimitVisiable;
    @JsonProperty("cModel")
    private CModelVo cModel;
    @JsonProperty("tModel")
    private TModelVo tModel;
}
